/********************************************************************************
* Project       : No Latency RTSP streaming Project
* Desc          : Xwindow module
* Author        : Seo, SeokWon 
* e-mail        : kueony@gmail.com
* Licence       : See the Copyright
*********************************************************************************/

#include <X11/Xlib.h>

typedef struct _vll_x11_data
{
	Display         	*display;
	GC              	gc;
	Visual          	*visual;
	int             	depth;
	XImage          	*xImage;
	XEvent              *event;
	Window              window;
	int					win_width;
	int					win_height;
	int	                screen_num;
	Screen              *screen;
	XWindowAttributes   windowAttributes;
	int					data_size;
} st_x11_data;

extern int	create_xwindow(st_x11_data* a_x11, int a_win_width, int a_win_height);
extern void	destroy_xwindow(st_x11_data* a_x11);
extern void	draw(st_x11_data* a_x11);

